import { createRouter,createWebHistory } from 'vue-router'

//路由的配置数组对象
const routes = [
    {
        path: '/',
        name: 'moveShop',
        component: () => import('../views/MoveShop.vue'),
        meta: { title: '移动店铺' }
    }
]

//创建路由对象
const router = createRouter({
    history: createWebHistory(),
    routes
})

//导出 别的地方要用
export default router;